package lab03.test02;

import java.io.File;

public class test02 {
    public static void main(String[] args) {
        File file = new File("F:");
        String[] list = file.list();
        System.out.println("当前文件夹的目录：");
        for(int i = 0; i < list.length; i++) {
            System.out.println(list[i]);
        }
    }
}

